/*
 * XML Type:  XNumberRange
 * Namespace: http://www.seedwill.com/xul/widget/
 * Java type: com.seedwill.xul.widget.XNumberRange
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.widget;


/**
 * An XML XNumberRange(@http://www.seedwill.com/xul/widget/).
 *
 * This is a complex type.
 */
public interface XNumberRange extends com.seedwill.xul.widget.XInput
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XNumberRange.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xnumberrangef560type");
    
    /**
     * Gets the "max" element
     */
    java.math.BigDecimal getMax();
    
    /**
     * Gets (as xml) the "max" element
     */
    org.apache.xmlbeans.XmlDecimal xgetMax();
    
    /**
     * True if has "max" element
     */
    boolean isSetMax();
    
    /**
     * Sets the "max" element
     */
    void setMax(java.math.BigDecimal max);
    
    /**
     * Sets (as xml) the "max" element
     */
    void xsetMax(org.apache.xmlbeans.XmlDecimal max);
    
    /**
     * Unsets the "max" element
     */
    void unsetMax();
    
    /**
     * Gets the "min" element
     */
    java.math.BigDecimal getMin();
    
    /**
     * Gets (as xml) the "min" element
     */
    org.apache.xmlbeans.XmlDecimal xgetMin();
    
    /**
     * True if has "min" element
     */
    boolean isSetMin();
    
    /**
     * Sets the "min" element
     */
    void setMin(java.math.BigDecimal min);
    
    /**
     * Sets (as xml) the "min" element
     */
    void xsetMin(org.apache.xmlbeans.XmlDecimal min);
    
    /**
     * Unsets the "min" element
     */
    void unsetMin();
    
    /**
     * Gets the "step" element
     */
    java.math.BigDecimal getStep();
    
    /**
     * Gets (as xml) the "step" element
     */
    org.apache.xmlbeans.XmlDecimal xgetStep();
    
    /**
     * True if has "step" element
     */
    boolean isSetStep();
    
    /**
     * Sets the "step" element
     */
    void setStep(java.math.BigDecimal step);
    
    /**
     * Sets (as xml) the "step" element
     */
    void xsetStep(org.apache.xmlbeans.XmlDecimal step);
    
    /**
     * Unsets the "step" element
     */
    void unsetStep();
    
    /**
     * Gets array of all "numElement" elements
     */
    com.seedwill.xul.widget.XTextBox[] getNumElementArray();
    
    /**
     * Gets ith "numElement" element
     */
    com.seedwill.xul.widget.XTextBox getNumElementArray(int i);
    
    /**
     * Returns number of "numElement" element
     */
    int sizeOfNumElementArray();
    
    /**
     * Sets array of all "numElement" element
     */
    void setNumElementArray(com.seedwill.xul.widget.XTextBox[] numElementArray);
    
    /**
     * Sets ith "numElement" element
     */
    void setNumElementArray(int i, com.seedwill.xul.widget.XTextBox numElement);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "numElement" element
     */
    com.seedwill.xul.widget.XTextBox insertNewNumElement(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "numElement" element
     */
    com.seedwill.xul.widget.XTextBox addNewNumElement();
    
    /**
     * Removes the ith "numElement" element
     */
    void removeNumElement(int i);
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.widget.XNumberRange newInstance() {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.widget.XNumberRange newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.widget.XNumberRange parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.widget.XNumberRange parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.widget.XNumberRange parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XNumberRange parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XNumberRange parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XNumberRange) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
